//
// Created by 17775 on 2024/9/9.
//

#ifndef RAYCI_BEAMPROFILERDYNAMIC_H
#define RAYCI_BEAMPROFILERDYNAMIC_H

#include <QDockWidget>
#include "../qcustomplot.h"

QT_BEGIN_NAMESPACE
namespace Ui { class BeamProfilerDynamic; }
QT_END_NAMESPACE

class BeamProfilerDynamic : public QDockWidget {
Q_OBJECT

public:
    explicit BeamProfilerDynamic(QWidget *parent = nullptr);

    ~BeamProfilerDynamic() override;
    void setProgress(int value);

private:
    Ui::BeamProfilerDynamic *ui;
    void initView();
    QCustomPlot *_dynamicPlot = nullptr;
    QCPBars *progressBar = nullptr;
    int progress = 5;

protected:

};

#endif //RAYCI_BEAMPROFILERDYNAMIC_H
